<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich" template="layout/template.xhtml">

	<ui:define name="body">
		<h:form id="bayiAdresForm">
			<rich:panel styleClass="richPanelYukseklik">
				<f:facet name="header">Özgeçmiş Bilgileri</f:facet>
				<h:outputText value="KİŞİSEL BİLGİLER" styleClass="txtBaslik" />

				<s:decorate id="TCField" template="layout/edit.xhtml">
					<ui:define name="label">T.C. Kimlik No</ui:define>
					<h:inputText id="eposta" required="true"
						value="#{kullaniciHome.instance.tcKimlikNo}"
						styleClass="adGenislik">
						<a:support event="onblur" reRender="TCField" bypassUpdates="true"
							ajaxSingle="true" />
					</h:inputText>
					<s:link value="Sorgulamak İçin Tıklanıyız"
						view="http://tckimlik.nvi.gov.tr/Web/">
					</s:link>
				</s:decorate>

				<s:decorate id="cinsiyetField" template="layout/edit.xhtml">
					<ui:define name="label">Cinsiyet</ui:define>
					<h:selectOneRadio id="cinsiyet"
						value="#{kullaniciHome.instance.cinsiyet}">
						<f:selectItem id="item1" itemLabel="Kadın" itemValue="K" />
						<f:selectItem id="item2" itemLabel="Erkek" itemValue="E" />

					</h:selectOneRadio>
				</s:decorate>

				<s:decorate id="medeniField" template="layout/display.xhtml">
					<ui:define name="label">Medeni Hali</ui:define>
					<h:selectOneRadio id="medeni"
						value="#{kullaniciHome.instance.medeniHali}">
						<f:selectItem id="item1" itemLabel="Bekar" itemValue="B" />
						<f:selectItem id="item2" itemLabel="Evli" itemValue="E" />
					</h:selectOneRadio>
				</s:decorate>
				<s:decorate id="iLField" template="layout/edit.xhtml">
					<ui:define name="label">Doğum Yeri</ui:define>
					<h:selectOneMenu value="#{kullaniciHome.instance.dogumYeriIl}"
						id="IlID">
						<s:selectItems var="_il" value="#{illerList.illerList}"
							label="#{_il.ilAdi}" noSelectionLabel="">
						</s:selectItems>
						<s:convertEntity />
						<a:support event="onchange" eventsQueue="q1" bypassUpdates="true"
							ajaxSingle="true"></a:support>
					</h:selectOneMenu>
				</s:decorate>
				<s:decorate id="dogumTarihiField" template="layout/edit.xhtml">
					<ui:define name="label">Doğum Tarihi</ui:define>
					<rich:calendar id="dogumTarihi"
						value="#{kullaniciHome.instance.dogumTarihi}" popup="true"
						enableManualInput="true" datePattern="dd-MM-yyyy">
					</rich:calendar>
				</s:decorate>
				<s:decorate id="askerlikField" template="layout/display3.xhtml">
					<ui:define name="label">Askerlik Durumu</ui:define>
					<ui:define name="value">
						<h:selectOneRadio id="askerlikDurumu"
							value="#{kullaniciHome.instance.askerlikDurumu}">
							<f:selectItem id="item1a" itemLabel="Tamam" itemValue="O" />
							<f:selectItem id="item2a" itemLabel="Muaf" itemValue="M" />
							<f:selectItem id="item3a" itemLabel="Tecil" itemValue="T" />
						</h:selectOneRadio>
					</ui:define>
					<ui:define name="label1">Tecil Tarihi</ui:define>
					<ui:define name="value1">

						<rich:calendar id="tecilTarihi" disabled="false"
							value="#{kullaniciHome.instance.askerlikTecilTarihi}"
							popup="true" enableManualInput="true" datePattern="dd-MM-yyyy">
						</rich:calendar>
					</ui:define>
				</s:decorate>
				<s:decorate id="tecilIseField" template="layout/display.xhtml">

				</s:decorate>

				<s:decorate id="ehliyetField" template="layout/display3.xhtml">
				<ui:define name="label">Aktif Araç </ui:define>
				<ui:define name="value">
                    <h:selectOneRadio id="Aktif Araç"
                        value="#{kullaniciHome.instance.aktifAracKullaniyormu}">
                        <f:selectItem id="item1" itemLabel="Kullanıyorum" itemValue="true" />
                        <f:selectItem id="item2" itemLabel="Kullanmıyorum"
                            itemValue="false" />
                    </h:selectOneRadio>
</ui:define>


					<ui:define name="label1">Ehliyetim</ui:define>
					<ui:define name="value1">
					<h:selectOneMenu id="som"
						value="#{kullaniciHome.instance.ehliyetVarmi}">
						<f:selectItem id="si1" itemLabel="Seçiniz" itemValue="false" />
						<f:selectItem id="si1" itemLabel="Var" itemValue="true" />
						<f:selectItem id="si2" itemLabel="Yok" itemValue="false" />
					</h:selectOneMenu>
					</ui:define>

					<ui:define name="label2">Sınıfı</ui:define>
					<ui:define name="value2">
					<h:selectOneMenu id="sm"
						value="#{kullaniciHome.instance.ehliyetSinifi}">
						<s:selectItems var="_ehliyet" value="#{ehliyetSinifis}"
							label="_ehliyet.getLongName" noSelectionLabel="Seçiniz"></s:selectItems>
						<s:convertEnum />
					</h:selectOneMenu>
					</ui:define>
				</s:decorate>




				<s:decorate id="aktiveAracField" template="layout/display.xhtml">
					
				</s:decorate>





				<s:decorate id="kanGrubuField" template="layout/display.xhtml">
					<ui:define name="label">Kan Grubu </ui:define>
					<h:selectOneMenu id="kg"
						value="#{kullaniciHome.instance.kanGruplari}">
						<s:selectItems var="_kan" value="#{kanGruplari}"
							label="_kan.getLongName" noSelectionLabel="Seçiniz"></s:selectItems>
						<s:convertEnum />
					</h:selectOneMenu>
				</s:decorate>

				<s:decorate template="layout/display2.xhtml" id="olculerField">

					<h:panelGrid columns="10" columnClasses="colStyle1"
						headerClass="rowStyle1">
						<f:facet name="header">
							<h:outputText value="Ölçüler" />
						</f:facet>
						<h:outputText value="Boy" />
						<h:outputText value="Kilo" />
						<h:outputText value="Ayakkabı" />
						<h:outputText value="Pantolon" />
						<h:outputText value="Gömlek" />
						<h:outputText value="Ceket" />
						<h:outputText value="Jean" />
						<h:outputText value="Göğüs" />
						<h:outputText value="Bel" />
						<h:outputText value=" " />

						<h:inputText value="#{kullaniciHome.instance.boy}"
							styleClass="yaziGenislik">
							<a:support event="onblur" reRender="olculerField"
								bypassUpdates="true" ajaxSingle="true" />
						</h:inputText>

						<h:inputText value="#{kullaniciHome.instance.kilo}"
							styleClass="yaziGenislik">
							<a:support event="onblur" reRender="olculerField"
								bypassUpdates="true" ajaxSingle="true" />
						</h:inputText>
						<h:inputText value="#{kullaniciHome.instance.bedenAyakkabi}"
							styleClass="yaziGenislik">
							<a:support event="onblur" reRender="olculerField"
								bypassUpdates="true" ajaxSingle="true" />
						</h:inputText>
						<h:inputText value="#{kullaniciHome.instance.bedenPantolon}"
							styleClass="yaziGenislik">
							<a:support event="onblur" reRender="olculerField"
								bypassUpdates="true" ajaxSingle="true" />
						</h:inputText>
						<h:inputText value="#{kullaniciHome.instance.bedenGomlek}"
							styleClass="yaziGenislik">
							<a:support event="onblur" reRender="olculerField"
								bypassUpdates="true" ajaxSingle="true" />
						</h:inputText>
						<h:inputText value="#{kullaniciHome.instance.bedenCeket}"
							styleClass="yaziGenislik">
							<a:support event="onblur" reRender="olculerField"
								bypassUpdates="true" ajaxSingle="true" />
						</h:inputText>
						<h:inputText value="#{kullaniciHome.instance.bedenJean}"
							styleClass="yaziGenislik">
							<a:support event="onblur" reRender="olculerField"
								bypassUpdates="true" ajaxSingle="true" />
						</h:inputText>
						<h:inputText value="#{kullaniciHome.instance.olcuGogus}"
							styleClass="yaziGenislik">
							<a:support event="onblur" reRender="olculerField"
								bypassUpdates="true" ajaxSingle="true" />
						</h:inputText>
						<h:inputText value="#{kullaniciHome.instance.olcuBel}"
							styleClass="yaziGenislik">
							<a:support event="onblur" reRender="olculerField"
								bypassUpdates="true" ajaxSingle="true" />
						</h:inputText>

					 
							<span class="error"> <h:graphicImage
								value="/img/error.gif" rendered="#{invalid}" styleClass="errors" />
							<s:message styleClass="errors" /> </span>
						 
					</h:panelGrid>

				</s:decorate>
				<s:decorate id="gozField" template="layout/edit.xhtml">
					<ui:define name="label">Göz Rengi</ui:define>
					<h:inputText id="eposta" maxlength="25"
						value="#{kullaniciHome.instance.gozRengi}">
						<a:support event="onblur" reRender="gozField" bypassUpdates="true"
							ajaxSingle="true" />
					</h:inputText>
				</s:decorate>
				<s:decorate id="sacField" template="layout/edit.xhtml">
					<ui:define name="label">Saç Rengi</ui:define>
					<h:inputText id="eposta" maxlength="25"
						value="#{kullaniciHome.instance.gozRengi}">
						<a:support event="onblur" reRender="sacField" bypassUpdates="true"
							ajaxSingle="true" />
					</h:inputText>
				</s:decorate>

				<div style="clear: both"><span class="required">*</span>
				Zorunlu Alanlar</div>
			</rich:panel>

			<div class="actionButtons"><h:commandButton id="save"
				value="#{messages.btnKaydetVeDevam}"
				action="#{kullaniciHome.doIK04}" /></div>
		</h:form>


	</ui:define>
</ui:composition>
